package com.ruoyi.project.data.service.impl;

import com.ruoyi.project.data.domain.ExamAllRecords;
import com.ruoyi.project.data.domain.ExamRecords;
import com.ruoyi.project.data.mapper.DatExamMapper;
import com.ruoyi.project.data.service.IDatExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DatExamServiceImpl implements IDatExamService {

    @Autowired
    private DatExamMapper datExamMapper;
    @Override
    public List<ExamRecords> findExamRecords(ExamRecords examRecords) {
        List<ExamRecords> list=datExamMapper.selectExamRecords(examRecords);
        return list;
    }

    @Override
    public List<ExamAllRecords> findExamRecordsAll(ExamRecords examRecords) {
        List<ExamAllRecords> list=datExamMapper.selectExamRecordsAll(examRecords);
        return list;
    }
}
